﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Media;

namespace Pacocation
{
    class Colisao
    {
        public Colisao()
        {
        }

        public bool VerificaColisao(Rectangle Rect1, Rectangle Rect2)
        {
            if (Rect1.Intersects(Rect2))
            {
                return true;
            }
            else
            {
                return false;
            }

        }

    }
}
